package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc BffObjScheduleDto
     * @使用场景
     */
    @Data
    public class BffObjScheduleDto  implements Serializable {
      
    /**
     * 被评对象目标周期ID 
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String	 evaObjTargetCycleId;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否父周期")
    private String	 isParentCycle;

    /**
     * 是否中期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否中期")
    private String	 isMetaphase;

    /**
     * 周期ID 
     */
    @ApiModelProperty("周期ID")
    private String	 cycleId;

    /**
     * 运算符号 GREATER_THAN:大于 LESS_THAN:小于 EQUAL:等于 GREATER_EQUAL_THAN:大于等于 LESS_EQUAL_THAN:小于等于 ALL_NOT_EQUAL:均不低于 ALL_NOT_GREATER:均不高于
     */
    @ApiModelProperty("运算符号")
    private String	 logicalOperator;

    /**
     * 诊断值 
     */
    @ApiModelProperty("诊断值")
    private Double	 targetDiagnosticValue;

    /**
     * 冗余单位 
     */
    @ApiModelProperty("冗余单位")
    private String	 unit;

    /**
     * 展示状态 OT_ARRANGE:未安排 IN_ARRANGEMENT:安排中 HAVE_ARRANGE:已安排 NOT_AT_THE:未开始 ONGOING:进行中 STAGES_COMPLETE:阶段完成 COMPLETE:全部完成
     */
    @ApiModelProperty("展示状态")
    private String	 displayStatus;

    /**
     * 是否已完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否已完成")
    private String	 isComplete;

    /**
     * 是否本级完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否本级完成")
    private String	 currentLevelComplete;

    /**
     * 是否下级完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否下级完成")
    private String	 nextLevelComplete;
/**
     * 冗余指标业务类型 NUMBER_GROWTH:数量增长型 NUMBER_DECLINE:数量降幅型 PERCENTAGE_GROWTH:百分比增长型 PERCENTAGE_DECLINE:百分比降幅型 PROGRESS:进度型 RATIO_GROWTH:比率增长型 RATIO_DECLINE:比率降幅型 SUBJECTIVE_QUALITATIVE:主观定性
     */
    @ApiModelProperty("冗余指标业务类型")
    private String	 targetValueType;

    /**
     * 冗余是否左侧比例型 TRUE:是 FALSE:否
     */
    @ApiModelProperty("冗余是否左侧比例型")
    private String	 isLeft;
/**
     * 关联目标内容ID 
     */
    @ApiModelProperty("关联目标内容ID")
    private String	 targetCycleContentId;
/**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否子周期")
    private String	 isSubCycle;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffObjScheduleDto that = (BffObjScheduleDto) o;
      return  evaObjTargetCycleId == that.evaObjTargetCycleId&&isParentCycle == that.isParentCycle&&isMetaphase == that.isMetaphase&&cycleId == that.cycleId&&logicalOperator == that.logicalOperator&&targetDiagnosticValue == that.targetDiagnosticValue&&unit == that.unit&&displayStatus == that.displayStatus&&isComplete == that.isComplete&&currentLevelComplete == that.currentLevelComplete&&nextLevelComplete == that.nextLevelComplete&&targetValueType == that.targetValueType&&isLeft == that.isLeft&&targetCycleContentId == that.targetCycleContentId&&isSubCycle == that.isSubCycle;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaObjTargetCycleId,isParentCycle,isMetaphase,cycleId,logicalOperator,targetDiagnosticValue,unit,displayStatus,isComplete,currentLevelComplete,nextLevelComplete,targetValueType,isLeft,targetCycleContentId,isSubCycle);
    }
    
      

    }
   